const object: any = {}; // any
const num: number = 1; // number
const desc: string = "Jack"; // string
const isEnable: boolean = true; // boolean
const arr: number[] = [1, 2, 3]; // arr
const x: [string, number] = ["string", 1]; // 元组
// 枚举
enum Color {
  Red,
  Green,
  Blue,
}
const c: Color = Color.Blue;
// void
function hello(): void {}
